<?php

return array(
    'controllers' => array(
        'invokables' => array(
            'Government\Controller\Index' => 'Government\Controller\IndexController',
            'Government\Controller\Api' => 'Government\Controller\ApiController',
        ),
    ),



    'router' => array(
        'routes' => array(
            'default' => array(
                'type'    => 'segment',
                'options' => array(
                    'route'    => '/government',
                    'defaults' => array(
                        'controller' => 'Government\Controller\Index',
                        'action'     => 'index',
                    ),
                ),
            ),
            'api' => array(
                'type'    => 'segment',
                'options' => array(
                    'route' => '/government/api[/:id]',
                    'defaults' => array(
                        'controller' => 'Government\Controller\Api'
                    ),
                ),
            ),
        ),
    ),

    'view_manager' => array(
        'template_path_stack' => array(
            'album' => __DIR__ . '/../view',
        ),
        'strategies' => array(
            'ViewJsonStrategy',
        ),
    ),

);